//
//  FSShoppingCartData.m
//  FieldStory
//
//  Created by itte on 2017/6/29.
//  Copyright © 2017年 funmain. All rights reserved.
//

#import "FSShoppingCartData.h"

@implementation FSShoppingCartData
+(instancetype)sharedInstance
{
    static dispatch_once_t onceTocken;
    __strong static id shareObject;
    dispatch_once(&onceTocken, ^{
        shareObject = [[self alloc] init];
    });
    return shareObject;
}

-(id)init
{
    if (self = [super init]) {
    }
    return self;
}

-(NSMutableArray *)dataArray
{
    if (_dataArray == nil) {
        _dataArray = [NSMutableArray array];
    }
    return _dataArray;
}

-(NSMutableArray *)boxArray
{
    if (_boxArray == nil) {
        _boxArray = [NSMutableArray array];
    }
    return _boxArray;
}
@end
